package org.axeidls.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;

public class StorageStatus {

	/**
	 * 数据总条数
	 */
	@JsonFormat(shape = Shape.STRING)
	private long totalDataNumber;
	
	/**
	 * 数据总容量 单位字节
	 */
	@JsonFormat(shape = Shape.STRING)
	private long totalDataSize;
	
	public long getTotalDataNumber() {
		return totalDataNumber;
	}

	public void setTotalDataNumber(long totalDataNumber) {
		this.totalDataNumber = totalDataNumber;
	}

	public long getTotalDataSize() {
		return totalDataSize;
	}

	public void setTotalDataSize(long totalDataSize) {
		this.totalDataSize = totalDataSize;
	}

	public void addTotalDataNumber(long totalDataNumber) {
		this.totalDataNumber = this.totalDataNumber+totalDataNumber;
	}
	
	public void addTotalDataSize(long totalDataSize) {
		this.totalDataSize = this.totalDataSize+totalDataSize;
	}

}
